package com.cloudfun.campusshare.service;

import com.cloudfun.campusshare.common.model.dto.WithdrawApplicationDTO;
import com.cloudfun.campusshare.common.model.dto.kjt.KjtSubMerchantWithdrawalCashNotifyDTO;
import com.cloudfun.campusshare.common.model.dto.kjt.KjtSubMerchantWithdrawalCashRespDTO;

/**
 * Created by CodeGenerator on 2020/08/14
 */
public interface WithdrawApplicationService {

    /**
     * 提现
     *
     * @param applicationDTO
     */
    void withdraw(WithdrawApplicationDTO applicationDTO);

    /**
     * 处理提现结果
     *
     * @param withdrawalCashRespDTO
     */
    void handleWithdrawResp(KjtSubMerchantWithdrawalCashRespDTO withdrawalCashRespDTO);

    /**
     * 处理结果通知
     *
     * @param notifyDTO
     * @return
     */
    boolean handleWithdrawNotify(KjtSubMerchantWithdrawalCashNotifyDTO notifyDTO);
}